// 
//  Copyright 2011  Felipe Segade
// 
//    Licensed under the Apache License, Version 2.0 (the "License");
//    you may not use this file except in compliance with the License.
//    You may obtain a copy of the License at
// 
//        http://www.apache.org/licenses/LICENSE-2.0
// 
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.

namespace FreeType2Sharp.Struct
{
	using System;
	using System.Runtime.InteropServices;
	
	[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
	public struct FT_Face
	{
		public long num_faces;
		public long face_index;
		
		public long face_flags;
		public long style_flags;
		
		public long num_glyphs;
		
		public string family_name;
		public string style_name;
		
		public int num_fixed_sizes;
		public IntPtr available_sizes;
		
		public int num_charmaps;
		public IntPtr charmaps;
		
		public FT_Generic generic;
		
		public FT_BBox bbox;
		
		public ushort units_per_EM;
		public short ascender;
		public short descender;
		public short height;

		public short max_advance_width;
		public short max_advance_height;

		public short underline_position;
		public short underline_thickness;
		
		public IntPtr glyph;
		public IntPtr size;
		public IntPtr charmap;
	}
}
